package com.deng.util
{
	import mx.collections.ArrayCollection;
	
	public class ArrayDeepCopy
	{
		public function ArrayDeepCopy(fromArr:ArrayCollection,toArr:ArrayCollection)
		{
			if(fromArr == null || fromArr.length == 0){
				return;
			}
			if(toArr == null){
				toArr = new ArrayCollection();
			}
			for(var i:int = 0;i< fromArr.length;i++){
				toArr.addItem(fromArr.getItemAt(i));
			}
		}
		
	}
}